<?php

        header("Content-Type: text/html; charset=ISO-8859-1");

        include ('../config/conexao.php');
        include ('../config/validacao.php');
	mysql_query("SET NAMES 'utf8'");
        $q = mysql_query("SELECT idcontato FROM contato, ramais_has_contato  WHERE idcontato=contato_idcontato and nomeContato='".$_GET["contato"]."'  and ramais_idramais='".$_GET["ramal"]."'");

        if( mysql_num_rows($q) > 0 ){
                echo "false";
        }else{
                echo "true";
        }
?>
